home *** CD-ROM | disk | FTP | other *** search
- Path: midland.co.nz!usenet
- From: jsev@midland.co.nz (John Severinsen)
- Newsgroups: comp.sys.amiga.misc
- Subject: Re: AmigaOS 4.x features
- Date: 7 Apr 1996 10:29:44 GMT
- Organization: Midland Internet Limited, Network Services
- Message-ID: <1931.6671T1215T2518@midland.co.nz>
- References: <4j7ein$a6v@B1FF.mindspring.com> <4jc7g1$ipq@news.rhrz.uni-bonn.de><4jfm8i$b5n@B1FF.mindspring.com><4jgc6q$a61@reuter.cse.ogi.edu>
- <4jkg5j$dva@B1FF.mindspring.com><3139.6666T726T2158@midland.co.nz>
- <31637208.2913@xgw.fi> <1330.6668T421T1343@magg.net>
- NNTP-Posting-Host: jsev.midland.co.nz
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
-
- On 05-Apr-96 01:38:16 (Msg ID: <1330.6668T421T1343@magg.net>), Greg Blanchard
- wrote:
- --
-
- >>John Severinsen wrote:
- >>
- >>> From my (admittedly rather limited) experience with UNIX pattern matching,
- >>> the AmigaDos system is more powerful (I suggest you read your manuals).
- >>> You have the following wildcards in AmigaDOS:
- >>>
- >>> # - Match any number the following character
- >>> ? - Match any single character
- >>> () - Group things together
- >>> | - Like a logical OR
- >>> [] - Character ranging
- >>> ~ - Like a logical NOT
- >>> % - Match the NULL string
- >>>
- >>> I think that's all but with these I have never come across anything that
- >>> can't be specifically matched.
-
- >>And, in addition, these pattern matching operations are available to any
- >>application for any purpose, not just for filenames. By accessing a single
- >>function in the dos.library DLL, one could easily implement a regexp string
- >>search feature in a text editor or database application.
-
- >My only question is why have'nt they????? I don't think this is in FW or
- >WW either. Somebody would have mentioned it. Could it be that those doing
- >the conversions/programming don't know AmiDOS all that well?
-
- Maybe your thinking of old versions of this software. ASL file requesters
- enable the programmer to specify several fields for entering data into (File,
- Drawer & Pattern fields). From an old photo I have seen of WW3, there is a
- pattern field there to enable you to filter the file list using the above
- patterns (as does ADPro and I'm sure many others).
-
-
-
-
-
- --
- /// * |One Ring to rule them all, One Ring to find them
- __/// ** |One Ring to bring them all and in the darkness bind them
- \XX/ * *miga |In the land of Mordor where Shadows lie
- |
- John Severinsen |- J.R.R. Tolkien
- jsev@midland.co.nz |
- <tsb>Thor 2.22, 07-Apr-96 20:08:14
-
- I used to be indecisive, but now I'm not so sure
-
-